package edu.ustb.mis.dm.model.unit.impl;

import edu.ustb.mis.dm.model.attributes.interfaces.BinaryAttributes;
import edu.ustb.mis.dm.model.unit.interfaces.Item;
import edu.ustb.mis.dm.model.unit.template.AbstractItem;

/**
 * 具有二态变量属性的实例
 * 
 * @author Saya 2011-5-23
 */
public class TwoStateInstance extends AbstractItem<BinaryAttributes<Integer, Boolean>> implements Item<BinaryAttributes<Integer, Boolean>> {
	private static final long serialVersionUID = -3198323901660918393L;

	public TwoStateInstance() {
		super();
	}

	public TwoStateInstance(String instanceName, BinaryAttributes<Integer, Boolean> attributes) {
		super();
		this.instanceName = instanceName;
		this.attributes = attributes;
	}

	public TwoStateInstance(String instanceName, String instanceType, BinaryAttributes<Integer, Boolean> attributes) {
		super();
		this.instanceName = instanceName;
		this.instanceType = instanceType;
		this.attributes = attributes;
	}
}
